home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
watcom
/
modex32w
/
readme.x32
< prev
next >
Wrap
Text File
|
1995-02-20
|
2KB
|
57 lines
/* Here are Michael Abrash's XMODE routines, converted to 32 bit
protected mode, currently all tested for PMC extender.
* Voila! They now work with Watcom C/C++ 10.0+
The only functions not yet tested are
CopyScreenToScreenMaskedX
CreateAlignedMaskedImageX (2)
* (2) is provided as a C file (as Abrash did) and hence is compilable
with WC.
* (2) Previously this was provided as an asm file, but no more.
Note that I have added some palette functions, two in fact,
and also modified the ShowPage to work with smooth vertical
and horizontal scrolling. In addition I moved some static data
to global space to save a few bytes of space.
* Since PMODE is now out in its Watcom version, I decided to
finally make the changeover of this code.
* Disclaimer: The conversion may not be the most optimal. Further
I will not be responsible for any damaging consequences of using
this, and I assume neither will Michael Abrash whose routines
they were before the conversion process.
This is released to FreeWare, and as such no cost is attached to
product. Please mention appropriate copyrights when using these
routines and give credit to where it's due.
(c) 1994, 1995 Kumanan Yogaratnam, all changes made.
Note: If any of you out there is able to optimize this better,
then please let me know at
kyogarat@chat.carleton.ca
where I will reside for atleast the next four years.
* In addition there is a simple sample program, testc2w.c, which
uses the tut.raw file. The tut file is actually
converted from DeluxPaint II's artwork files.
* I've also provided one watcom library file (x32w.lib) which
was created using wlib. The assembler files were assembled
using tasm, and the c file compiled with wcl.
* Note that mkalign.c is not in the x32w.lib. This is because it
uses malloc() and other WC functions, and compiling with either
stack or reg arguments affects those call modes. So make the
obj file yourself.
* Also, compiling in register param. doesn't work unless all
optimizations are disabled using /od. I'm sure experimentation
will isolate the more specific optimization, and if anyone has
the patience to do it, let me know.
*/